home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / netinclude / netinet / udp.h < prev   
Encoding:
C/C++ Source or Header  |  2002-02-13  |  531 b   |  20 lines

  1. #ifndef NETINET_UDP_H
  2. #define NETINET_UDP_H \
  3.        "$Id: udp.h,v 1.1.1.1 2001/11/26 22:21:17 tboeckel Exp $"
  4. /*
  5.  *      UDP protocol header, per RFC 768, September, 1981.
  6.  *
  7.  *      Copyright © 1994 AmiTCP/IP Group,
  8.  *                       Network Solutions Development, Inc.
  9.  *                       All rights reserved.
  10.  */
  11.  
  12. struct udphdr {
  13.     u_short    uh_sport;        /* source port */
  14.     u_short    uh_dport;        /* destination port */
  15.     short    uh_ulen;        /* udp length */
  16.     u_short    uh_sum;            /* udp checksum */
  17. };
  18.  
  19. #endif /* !NETINET_UDP_H */
  20.